package com.heaven.jane.sourcegenerator.business.project.service;

import java.util.Optional;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.heaven.jane.sourcegenerator.business.project.domain.Project;
import com.heaven.jane.sourcegenerator.business.project.domain.ProjectVo;

/**
 * 项目业务接口
 * @author heaven
 *
 */
public interface ProjectService {
	
	/**
	 * 
	 * @return
	 */
	Page<Project> list(Optional<ProjectVo> condition, Pageable pageable);

	Project save(ProjectVo data);

	void delete(ProjectVo data);
	
}
